package com.syn.michat.constant;

/**
 * 错误常量
 *
 * @author: 申亚男
 * @create: 2021-12-14 17:01
 **/

public class ErrorContants {
    // 成功
    public static final String RESPONSE_STATUS_SUCCESS = "1";
    // 失败
    public static final String RESPONSE_STATUS_FAILURE = "-1";
    // 未知错误
    public static final String UNKNOWN = "-10000";

    // 参数错误
    public static final String PARAMETER_ERROR = "1001";
    // token失效
    public static final String ACCESSTOKEN_INVALID = "1450";
    // 非法token
    public static final String ACCESSTOKEN_ILLEGAL = "1451";


    // 用户已存在
    public static final String USER_ALREADY_EXISTS = "3000";
    // 用户不存在或密码错误
    public static final String USER_NOTEXIST_OR_PWDINCORRECT = "3001";

    // 已是好友
    public static final String Friend_Already = "4000";

    // socket io 错误
    public static final String  SOCKET_IO_EXCEPTION = "40000";

    // sql错误
    public static final String  SQL_INCORRECT = "50000";
}
